<template>
  <el-dialog
    :before-close="handleClose"
    v-model="dialogVisible"
    title="提示"
    width="30%"
  >
    <HandleProcess v-bind="attrs" />
  </el-dialog>
</template>

<script setup>
import { ref, useAttrs } from "vue";
import { ElDialog } from "element-plus";
import HandleProcess from "./index.vue";

defineOptions({
  inheritAttrs: false
});
const attrs = useAttrs();

const dialogVisible = ref(true);

const handleClose = () => {
  dialogVisible.value = false;
};
</script>

<style lang="scss" scoped>
.download {
  width: 70px;
  margin: 10px auto;
  display: block;
}
</style>
